package com.valten.serive.impl;

import com.valten.serive.IndexService;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;

@Service("indexService")
public class IndexServiceImpl implements IndexService {

    @Override
    public void testPrint(String msg) {
        System.out.println("current time :" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()) + "---" + msg);
    }
}
